﻿using System;
using System.Windows.Forms;

namespace SSS.AlphaNN.Forms
{
    public partial class PropertiesForm : Form
    {
        public PropertiesForm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Просто закрытие формы
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected virtual void button3_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        /// <summary>
        /// Применяем свойства и закрываем форму
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            SetProperties();
            this.Close();
        }

        /// <summary>
        /// применяем свойтва к объекту
        /// </summary>
        protected virtual void SetProperties()
        {
            ;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            SetProperties();
        }

        
    }
}
